package com.arch.dev.client.vo;

import com.google.gwt.view.client.ProvidesKey;

public class CatagoryVO extends BaseVO  {

	private String name;

	public CatagoryVO() {

	}

	public CatagoryVO(String name) {

		this.name = name;

	}

	

	public String getName() {

		return name;

	}


	public void setName(String name) {

		this.name = name;

	}

	@Override
	public String toString() {

		return new String("Id :" + id + "Description : " + name);

	}

	/**
	 * 
	 * The key provider that provides the unique ID of a contact.
	 */

	public static final ProvidesKey<CatagoryVO> KEY_PROVIDER = new ProvidesKey<CatagoryVO>() {

		
		public Object getKey(CatagoryVO item) {

			return item == null ? null : item.getId();

		}

	};

	
}
